package io.finer.erp.jeecg.purchase.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.finer.erp.jeecg.purchase.entity.PurchaseOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.finer.erp.jeecg.purchase.vo.PurchaseOrderPage;
import io.finer.erp.jeecg.stock.vo.StockMovePage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 采购订单 Mapper 接口
 * </p>
 *
 * @author yaoyifan
 * @since 2021-06-15
 */
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrder> {

    public IPage<PurchaseOrderPage> selectPurchaseOrderPage(Page page, @Param(Constants.WRAPPER) Wrapper<PurchaseOrderPage> queryWrapper);
    public PurchaseOrderPage selectPurchaseOrderPageById(@Param("id") String id);
}
